package com.agent.repository;

import java.util.List;


import com.agent.entity.Dict;
import org.springframework.stereotype.Repository;

@Repository
public interface DictMapper {
	
	public List<Dict> searchDict(Dict dict);
	
	public List<Dict> searchAll();
	
	public List<Dict> getDict(String id);
	public List<Dict> getDictByCode(String code);

	public void insert(Dict dict);
	
	public void update(Dict dict);
	
	public void delete(String id);
	
}
